package com.haizhi.crm.tag.service.impl;

import com.haizhi.crm.tag.manager.TagCategoryManager;
import com.haizhi.crm.tag.model.TagCategoryQo;
import com.haizhi.crm.tag.model.TagCategoryResp;
import com.haizhi.crm.tag.service.TagCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by chengmo on 2018/5/18.
 */
@Service
public class TagCategoryServiceImpl implements TagCategoryService {

    @Autowired
    private TagCategoryManager tagCategoryManager;

    @Override
    public TagCategoryResp findAll(TagCategoryQo request) {
        return tagCategoryManager.findAll(request);
    }

    @Override
    public TagCategoryResp saveOrUpdate(TagCategoryQo request) {
        return tagCategoryManager.saveOrUpdate(request);
    }

    @Override
    public TagCategoryResp delete(TagCategoryQo request) {
        return tagCategoryManager.delete(request);
    }
}
